DLL response is too slow in Visual Studio [Resolved]
Posted
by magsto
on Stack Overflow
See other posts from Stack Overflow
or by magsto
Published on 2010-04-20T07:33:38Z
Indexed on
2010/04/20
10:33 UTC
Read the original article
Hit count: 238
I use a 3rd party DLL in my VB.NET project (VS2005) that responds to slow and give wrong values in debug mode. In run-time mode everything works as expected.
I do understand that there are something going on in the debug mode which makes the DLL communication slow. This behavior makes it hard to debug the application correctly.
Is there any way to force VS to communicate with the DLL in "run-time" mode during debugging but let the rest of the project be in control of the debugger?
I found a setting that resolved my issue:
Project Properties > Debug > Enable Debuggers > select "Enable unmanaged code debugging".
Now the DLL communication flowed smoothly. The DLL I use is a middleware between my app and a USB device. There is no Debug/Release version of the DLL.
© Stack Overflow or respective owner